package com.converter.mapper;

import java.util.List;

import com.converter.bean.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysDeptMapper {
	
	/**
	 * 添加部门
	 * @return
	 */
	public int insertDept(@Param("dept") Dept dept);
	
	/**
	 * 删除部门
	 * @return
	 */
	public int deleteDept(@Param("deptIds")Long[] deptIds);
	
	/**
	 * 修改部门
	 * @return
	 */
	public int updateDept(@Param("dept") Dept dept);
	
	/**
	 * 查询部门列表
	 * @return
	 */
	public List<Dept> selecteDeptList(@Param("dept") Dept dept);

}
